import axios from '@/utils/request'

import config from '@/common/config'

const base = config.getMkBasePath()

// 查询会员积分
export const listMemberPointsMap = params => { return axios.get(`${base}/mk/mem/member/selectMemberPointsMap`, { params: params }) }

// 会员积分充值
export const consumer = params => { return axios.post(`${base}/mk/points/pointsUserBalance/consumer`, params) }

// 查询商户门店
export const listShopLocationMap = params => { return axios.get(`${base}/mk/mem/member/selectShopLocation`, { params: params }) }
